<?php
/* This function scans in details of the attacks and returns a scanned array 
 * in the form:
 * AttackID, Executed (default3), AtkType, RegionOfOrigin, PlayerOfOrigin, 
 *  TargetRegion, #ofMelees, AtkPerMelee, HPperMelee, #ofArtillery, AtkPerArtil, 
 *  HPperArtil, RangeOfArtil, FriendlyStatus for Player1, 2, 3, 4, 5, and 6, 
 *  and TotalHP
 */

function scanAttacks( $inputarray ) 
{
   $output = array();
   
   
   return $output;
}

/* This function scans in details of the defenders and returns a scanned array
 * in the form:
 * RegionOfDef, PlayerID, #ofMelees, AtkPerMelee, HPperMelee, #ofArtillery, 
 * AtkPerArtil, HPperArtil, RangeOfArtil, AtkOfHQ, HPofHQ...
 */

function scanDefence( $inputarray )
{
  $output = array();
  
  return $output;
}
?>